package com.sitech.openapi.domain.ProductOrder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

@ApiModel(value = "ProductOrder" ,description = "产品订单信息")
public class MainOfferOrderItem implements Serializable{

    private static final long serialVersionUID = 1L;

    // 记录订单项标识。
    @ApiModelProperty(value = "订单项标识")
    private	Long	orderItemId	;

    // 记录客户订单标识
    @ApiModelProperty(value = "客户订单标识")
    private	Long	custOrderId	;

    // 引用资源ServiceOffer参考主数据EVT-0006
    @ApiModelProperty(value = "服务提供标识")
    private	Long	serviceOfferId	;

    // 引用对象Offer
    @ApiModelProperty(value = "销售品业务编码")
    private	String	offerNbr	;

    // 引用对象Offer
    @ApiModelProperty(value = "销售品名称")
    private	String	offerName	;

    // 引用对象OfferInst
    @ApiModelProperty(value = "销售品对象标识")
    private	Long	offerInstId	;

    // 外部销售品实例标识
    @ApiModelProperty(value = "外部销售品实例标识")
    private	String	extOfferInstId	;

    // 引用对象Customer
    @ApiModelProperty(value = "归属客户标识")
    private	Long	ownerCustId	;

    // 引用对象Customer
    @ApiModelProperty(value = "归属客户标识(省内)")
    private	String	extOwnerCustId	;

    // 记录备注信息。
    @ApiModelProperty(value = "备注")
    private	String	remark	;

    // 记录外部订单项标识
    @ApiModelProperty(value = "外部订单项标识")
    private	String	extOrderItemId	;

    // 引用对象OrdDevStaffInfo
    @ApiModelProperty(value = "订单-发展人信息")
    private	List<OrdDevStaffInfo>	ordDevStaffInfo	;

    // 引用一组资源AccessProdOrderItem
    @ApiModelProperty(value = "接入类订单项")
    private	List<AccessProdOrderItem>	accessProdOrderItems	;

    // 引用一组资源MainOfferOrderItemAttr
    @ApiModelProperty(value = "主套餐订单项属性")
    private	List<MainOfferOrderItemAttr>	mainOfferOrderItemAttrs	;

    // 引用一组资源ChoiceOfferOrderItem
    @ApiModelProperty(value = "可选包、促销订单项")
    private	List<ChoiceOfferOrderItem>	choiceOfferOrderItems	;

    // 引用一组资源OrdOfferProdInstRel
    @ApiModelProperty(value = "订单-销售品产品实例关系")
    private	List<OrdOfferProdInstRel>	ordOfferProdInstRels	;

    // 生效时间date-time格式。指定时间的需要送，其他不需要送，省内自行计算
    @ApiModelProperty(value = "生效时间")
    private	String	effDate	;

    // 失效时间date-time格式。指定时间的需要送，其他不需要送，省内自行计算
    @ApiModelProperty(value = "失效时间")
    private	String	expDate	;

    // 主数据编码CEP-PRI-00001销售品实例生效方式。指定方式的需要送，其他不需要送，省内自行计算
    @ApiModelProperty(value = "生失效方式")
    private	String	effType	;

    public Long getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    public Long getCustOrderId() {
        return custOrderId;
    }

    public void setCustOrderId(Long custOrderId) {
        this.custOrderId = custOrderId;
    }

    public Long getServiceOfferId() {
        return serviceOfferId;
    }

    public void setServiceOfferId(Long serviceOfferId) {
        this.serviceOfferId = serviceOfferId;
    }

    public String getOfferNbr() {
        return offerNbr;
    }

    public void setOfferNbr(String offerNbr) {
        this.offerNbr = offerNbr;
    }

    public String getOfferName() {
        return offerName;
    }

    public void setOfferName(String offerName) {
        this.offerName = offerName;
    }

    public Long getOfferInstId() {
        return offerInstId;
    }

    public void setOfferInstId(Long offerInstId) {
        this.offerInstId = offerInstId;
    }

    public String getExtOfferInstId() {
        return extOfferInstId;
    }

    public void setExtOfferInstId(String extOfferInstId) {
        this.extOfferInstId = extOfferInstId;
    }

    public Long getOwnerCustId() {
        return ownerCustId;
    }

    public void setOwnerCustId(Long ownerCustId) {
        this.ownerCustId = ownerCustId;
    }

    public String getExtOwnerCustId() {
        return extOwnerCustId;
    }

    public void setExtOwnerCustId(String extOwnerCustId) {
        this.extOwnerCustId = extOwnerCustId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getExtOrderItemId() {
        return extOrderItemId;
    }

    public void setExtOrderItemId(String extOrderItemId) {
        this.extOrderItemId = extOrderItemId;
    }

    public List<OrdDevStaffInfo> getOrdDevStaffInfo() {
        return ordDevStaffInfo;
    }

    public void setOrdDevStaffInfo(List<OrdDevStaffInfo> ordDevStaffInfo) {
        this.ordDevStaffInfo = ordDevStaffInfo;
    }

    public List<AccessProdOrderItem> getAccessProdOrderItems() {
        return accessProdOrderItems;
    }

    public void setAccessProdOrderItems(List<AccessProdOrderItem> accessProdOrderItems) {
        this.accessProdOrderItems = accessProdOrderItems;
    }

    public List<MainOfferOrderItemAttr> getMainOfferOrderItemAttrs() {
        return mainOfferOrderItemAttrs;
    }

    public void setMainOfferOrderItemAttrs(List<MainOfferOrderItemAttr> mainOfferOrderItemAttrs) {
        this.mainOfferOrderItemAttrs = mainOfferOrderItemAttrs;
    }

    public List<ChoiceOfferOrderItem> getChoiceOfferOrderItems() {
        return choiceOfferOrderItems;
    }

    public void setChoiceOfferOrderItems(List<ChoiceOfferOrderItem> choiceOfferOrderItems) {
        this.choiceOfferOrderItems = choiceOfferOrderItems;
    }

    public List<OrdOfferProdInstRel> getOrdOfferProdInstRels() {
        return ordOfferProdInstRels;
    }

    public void setOrdOfferProdInstRels(List<OrdOfferProdInstRel> ordOfferProdInstRels) {
        this.ordOfferProdInstRels = ordOfferProdInstRels;
    }

    public String getEffDate() {
        return effDate;
    }

    public void setEffDate(String effDate) {
        this.effDate = effDate;
    }

    public String getExpDate() {
        return expDate;
    }

    public void setExpDate(String expDate) {
        this.expDate = expDate;
    }

    public String getEffType() {
        return effType;
    }

    public void setEffType(String effType) {
        this.effType = effType;
    }

    @Override
    public String toString() {
        return "MainOfferOrderItem{" +
                "orderItemId=" + orderItemId +
                ", custOrderId=" + custOrderId +
                ", serviceOfferId=" + serviceOfferId +
                ", offerNbr='" + offerNbr + '\'' +
                ", offerName='" + offerName + '\'' +
                ", offerInstId=" + offerInstId +
                ", extOfferInstId='" + extOfferInstId + '\'' +
                ", ownerCustId=" + ownerCustId +
                ", extOwnerCustId='" + extOwnerCustId + '\'' +
                ", remark='" + remark + '\'' +
                ", extOrderItemId='" + extOrderItemId + '\'' +
                ", ordDevStaffInfo=" + ordDevStaffInfo +
                ", accessProdOrderItems=" + accessProdOrderItems +
                ", mainOfferOrderItemAttrs=" + mainOfferOrderItemAttrs +
                ", choiceOfferOrderItems=" + choiceOfferOrderItems +
                ", ordOfferProdInstRels=" + ordOfferProdInstRels +
                ", effDate='" + effDate + '\'' +
                ", expDate='" + expDate + '\'' +
                ", effType='" + effType + '\'' +
                '}';
    }
}
